import java.util.Arrays;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * Author:  LiuTao
 * Version: 1.0
 * Date:    2023-08-04  20:15
 */
public class Test7 {
    public static void main(String[] args) {
        int[] array = {1,2,3,2,2};
        System.out.println(find(array));
    }

    public static int find(int[] array) {
        Arrays.sort(array);
        return (array.length/2);
    }
}
